// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * LogisticsReconciliation
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "logistics_reconciliation", autoResultMap = true)
@Schema(title = "物流对账")
public class LogisticsReconciliation implements Serializable {

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 销售出库单
   */
  @TableField(value = "`salesoutboundorder`")
  @Schema(title = "销售出库单")
  private String salesoutboundorder;

  /**
   * 运单号
   */
  @TableField(value = "`waybillnumber`")
  @Schema(title = "运单号")
  private String waybillnumber;

  /**
   * 跟踪单号
   */
  @TableField(value = "`trackingnumber`")
  @Schema(title = "跟踪单号")
  private String trackingnumber;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 系统单号
   */
  @TableField(value = "`sysnumber`")
  @Schema(title = "系统单号")
  private String sysnumber;

  /**
   * 店铺
   */
  @TableField(value = "`shop_id`")
  @JoinField(ShopInfo.class)
  @Schema(title = "店铺")
  private Long shopId;

  /**
   * 平台单号
   */
  @TableField(value = "`platformnumber`")
  @Schema(title = "平台单号")
  private String platformnumber;

  /**
   * 状态 (0 - 待确认; 1 - 已确认; 2 - 已删除; )
   */
  @TableField(value = "`state`")
  @Schema(title = "状态")
  private String state;

  /**
   * 发货日期
   */
  @TableField(value = "`sendgoodsdate`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "发货日期")
  private java.util.Date sendgoodsdate;

  /**
   * 物流商
   */
  @TableField(value = "`logisticsprovider`")
  @JoinField(LogisticsProvider.class)
  @Schema(title = "物流商")
  private Long logisticsprovider;

  /**
   * 物流渠道
   */
  @TableField(value = "`logisticschannel`")
  @JoinField(LogisticsChannel.class)
  @Schema(title = "物流渠道")
  private Long logisticschannel;

  /**
   * 预估费用
   */
  @TableField(value = "`estimatedfee`")
  @Schema(title = "预估费用")
  private java.math.BigDecimal estimatedfee;

  /**
   * 预估费用（对账）
   */
  @TableField(value = "`chargedfee`")
  @Schema(title = "预估费用（对账）")
  private java.math.BigDecimal chargedfee;

  /**
   * 物流运费
   */
  @TableField(value = "`logisticsfee`")
  @Schema(title = "物流运费")
  private java.math.BigDecimal logisticsfee;

  /**
   * 物流运费(对账)
   */
  @TableField(value = "`logisticsfeereconc`")
  @Schema(title = "物流运费(对账)")
  private java.math.BigDecimal logisticsfeereconc;

  /**
   * 运费差异
   */
  @TableField(value = "`logisticsfeediff`")
  @Schema(title = "运费差异")
  private java.math.BigDecimal logisticsfeediff;

  /**
   * 称重重量
   */
  @TableField(value = "`chargedweight`")
  @Schema(title = "称重重量")
  private java.math.BigDecimal chargedweight;

  /**
   * 计费重量
   */
  @TableField(value = "`chargingweight`")
  @Schema(title = "计费重量")
  private java.math.BigDecimal chargingweight;

  /**
   * 重量差异
   */
  @TableField(value = "`weightdiff`")
  @Schema(title = "重量差异")
  private java.math.BigDecimal weightdiff;

  /**
   * 是否获取运费 (0 - 是; 1 - 否; )
   */
  @TableField(value = "`isobtainshippingcosts`")
  @Schema(title = "是否获取运费")
  private String isobtainshippingcosts;

  /**
   * 备注
   */
  @TableField(value = "`remarks`")
  @Schema(title = "备注")
  private String remarks;
}
